package com.hanrui.android.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.hanrui.android.adapter.ExpandableItemAdapter;

/**
 * Created by Administrator on 2018/6/26.
 */

public class ExpandableItem implements MultiItemEntity {

    public String parentName;
    public String name;
    public String code;

    public ExpandableItem(String parentName, String name, String code) {
        this.parentName = parentName;
        this.name = name;
        this.code = code;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_1;
    }
}
